package io.lb.deng.webflux.service.serviceimp;

import io.lb.deng.webflux.api.model.UserVo;
import io.lb.deng.webflux.api.serviceapi.IUserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * @author 邓力宾
 * @date 2021/9/30 17:44
 * @desc
 */
@Service
@DubboService
public class UserServiceImp implements IUserService {
    @Override
    public UserVo getOne() {
        return new UserVo(1L, "李四", LocalDateTime.now());
    }
}
